package com.atguigu.webapp.service;

import com.atguigu.model.pojo.RoomInfo;
import com.atguigu.webapp.vo.room.RoomDetailVo;
import com.atguigu.webapp.vo.room.RoomItemVo;
import com.atguigu.webapp.vo.room.RoomQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Author 梅超凡
 * @Date 2024/11/12~21:23
 * @Description  针对表【room_info(房间信息表)】的数据库操作Service
*/
public interface RoomInfoService extends IService<RoomInfo> {


    IPage<RoomItemVo> pageItem(IPage<RoomItemVo> iPage, RoomQueryVo queryVo);

    RoomDetailVo getRoomDetailById(Long id);

    Page<RoomItemVo> pageItemByApartmentId(IPage<RoomItemVo> iPage, Long id);
}
